package com.qxl.forest.core.auth.controller.dto;


import com.qxl.forest.core.auth.validator.dto.Credence;

/**
 * @Author: qiuxinlin
 * @Dercription: 认证的请求dto
 * @Date: 2018/1/5
 */
public class AuthRequest implements Credence {

    private String account;
    private String password;

    public String getAccount() {
        return account;
    }

    public void setAccount(String account) {
        this.account = account;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    @Override
    public String getCredenceName() {
        return this.account;
    }

    @Override
    public String getCredenceCode() {
        return this.password;
    }
}
